package org.zcl.event;

import org.springframework.context.ApplicationEvent;

/**
 *
 * @author: ZCL
 * @since: 2021/10/18 14:06
 */
public class CustomEvent extends ApplicationEvent {
    public CustomEvent(Object source) {
        super(source);
    }

    public String toString() {
        System.out.println("事件处理！");
        return "My Custom Event";
    }
}
